<template>
  <div>
    <el-card class="box-card">
      <el-form :model="formData" label-width="100px" label-position="right">
        <el-row type="flex" justify="space-between" :gutter="20">
          <el-col :xs="24" :md="6">
            <el-form-item label="物品类型:">
              <el-select
                v-model="formData.unit"
                placeholder="请选择"
                style="width: 100%"
              >
                <el-option label="特殊物品" value="shanghai"></el-option>
                <el-option label="普通物品" value="beijing"></el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :xs="24" :md="6">
            <el-form-item label="二维码编号" prop="phone">
              <el-input
                v-model="formData.person"
                placeholder="请输入二维码编号"
              ></el-input>
            </el-form-item>
          </el-col>
          <el-col :xs="24" :md="6">
            <el-form-item label="当事人" prop="phone">
              <el-input
                v-model="formData.person"
                placeholder="请输入当事人"
              ></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6" :xs="2">
            <el-form-item label="物品名称">
              <el-input
                v-model="formData.person"
                placeholder="请输入物品名称"
              ></el-input>
            </el-form-item>
          </el-col>
        </el-row>

        <el-row type="flex" justify="space-between" :gutter="20">
          <el-col :xs="24" :md="6">
            <el-form-item label="办案单位:">
              <el-input
                v-model="formData.person"
                placeholder="请输入办案单位"
              ></el-input>
            </el-form-item>
          </el-col>
          <el-col :xs="24" :md="6">
            <el-form-item label="盘存时间">
              <el-date-picker
                type="date"
                placeholder="请选择时间段"
                style="width: 100%"
              />
            </el-form-item>
          </el-col>
          <el-col :xs="24" :md="6">
            <el-form-item label="存放区域">
              <el-input
                v-model="formData.person"
                placeholder="请输入存放区域"
              ></el-input>
            </el-form-item>
          </el-col>
          <el-col :xs="24" :md="6">
            <el-form-item label="盘存人员">
              <el-input
                v-model="formData.person"
                placeholder="请输入盘存人员"
              ></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row type="flex" justify="end">
          <el-button type="primary" @click="submitForm('activeName')"
            >搜索</el-button
          >
          <el-button @click="resetForm('activeName')">重置</el-button>
        </el-row>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      formData: {},
    };
  },
  methods: {
    onSubmit() {},
    submitForm(activeName) {},
    resetForm(activeName) {
      this.$refs[activeName].resetFields();
    },
  },
};
</script>

<style lang="scss" scoped></style>
